package com.ruoyi.mobile.utils;

public class ResponseConstants {
    /** 返回成功 */
    public static final String SUCCESS_CODE       = "200";

    /** 返回失败 */
    public static final String ERROR_CODE       = "500";

    public static final String TOKEN_CODE       = "401";

    /** 返回部分成功 */
    public static final String PART_SUCCESS_CODE       = "206";

    /**
     * ip限制
     */
    public static final String IP_IS_LIMITED = "127001";

    /** 参数为空 */
    public static final String PARAM_IS_NULL      = "params is null";

    /** 查询失败 */
    public static final String SELECT_ERROR_CODE   = "select fail";

    /**新增失败*/
    public static final String INSERT_ERROR_CODE     = "insert fail";

    /**新增警告*/
    public static final String INSERT_WARNING        = "insert warning";

    /**业务异常*/
    public static final String SERVICE_ERROR_CODE = "service fail";

    /**系统错误*/
    public static final String SYSTEM_ERROR_CODE  = "system error";

    /** 删除失败 */
    public static final String DEL_ERROR_CODE     = "delete fail";

    /** 修改失败 */
    public static final String UPDATE_ERROR_CODE  = "update fail";

    /**参数错误*/
    public static final String PARAMS_ERROR       = "params error ";

    /**
     * 没有权限
     */
    public static final String NO_PERMISSION = "noauth";

    /**
     * 未登录
     */
    public static final String NO_LOGIN = "10001";
}
